<?php
if($act=="editcat")
{
    $idCatTour  = getIdCatByType('tour');
    $sql_select = "SELECT * FROM tblcategory WHERE cType = 'inquiry' and cLanguage='$language'";
    $rs=$dbsql->query($sql_select);
    
    $category = $dbsql->fetch_array($rs);
    $category['iParentId']  = $idCatTour;
    $id       = $category['iId'];
    Select_Tag($id,'Category');
}
?>
